package com.victualler.core.common.dto.list;

import java.io.Serializable;

/**
 * @Aouthor Guoshichang
 * @Date 17:18 on 2018/7/7.
 * @Function 一个查询框的描述
 */
public class FormItemDto implements Serializable {
    //查询的中文名
    private String title ;
    //字段名称
    private String fieldName;
    //控件类型
    private String type;
    //若转换的话来自哪里  比如 要翻译的字典码
    private String dictCodeType;
    //是否必选
    private boolean required;
    //是否可编辑
    private boolean canEdit;
    //排序
    private int sort;
    //是否显示
    private boolean showFlag = true;

    public FormItemDto() {
    }




    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public boolean isCanEdit() {
        return canEdit;
    }

    public void setCanEdit(boolean canEdit) {
        this.canEdit = canEdit;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getDictCodeType() {
        return dictCodeType;
    }

    public void setDictCodeType(String dictCodeType) {
        this.dictCodeType = dictCodeType;
    }

    public boolean isShowFlag() {
        return showFlag;
    }

    public void setShowFlag(boolean showFlag) {
        this.showFlag = showFlag;
    }
}
